/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.flowable.CheckCycle.entity;

import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.modules.sys.entity.User;
import lombok.Data;

/**
 * 周期点检主附表Entity
 * @author 刘明星
 * @version 2020-11-11
 */
@Data
public class CheckStandardCheck extends DataEntity<CheckStandardCheck> {


	private static final long serialVersionUID = 1L;
	@ExcelField(title="设备名称", align=2, sort=1)
	private String equipmentName;		// 设备名称
	@ExcelField(title="部件名称", align=2, sort=2)
	private String partsName;		// 部件名称
	@ExcelField(title="零件名称", align=2, sort=3)
	private String sparePartsName;		// 零件名称
	@ExcelField(title="项目", align=2, sort=4)
	private String project;		// 项目
	@ExcelField(title="点检内容", align=2, sort=5)
	private String checkContent;		// 点检内容
	@ExcelField(title="设备状态", dictType="basicdata_part_device_node_running_state", align=2, sort=6)
	private String equipment;		// 设备状态
	@ExcelField(title="点检分工", dictType="check_job", align=2, sort=7)
	private String checkWork;		// 点检分工
	@ExcelField(title="点检责任人", fieldType=User.class, value="checkUser.name", align=2, sort=8)
	private User checkUser;		// 点检责任人
	@ExcelField(title="检修责任人", fieldType=User.class, value="overhaulUser.name", align=2, sort=9)
	private User overhaulUser;		// 检修责任人
	@ExcelField(title="岗位责任人", fieldType=User.class, value="postStartTime.name", align=2, sort=10)
	private User postStartTime;		// 岗位责任人
	@ExcelField(title="点检方法", dictType="check_method", align=2, sort=11)
	private String checkMethod;		// 点检方法
	@ExcelField(title="流程实例id", align=2, sort=18)
	private String procInsId;		// 流程实例id
	private String TaskFrom;

	public CheckStandardCheck() {
		super();
	}

	public CheckStandardCheck(String id){
		super(id);
	}
}